package fr.mywiki.view.array.cell.account;

import fr.mywiki.business.account.AccountLite;
import fr.mywiki.business.profil.ProfileManager;
import fr.mywiki.model.ejbAdapter.Value;
import fr.mywiki.view.array.cell.CellType;

public class ProfileStringDisplayer implements CellType {
	/**
	 * @param value
	 *          a <code>AccountLite</code> object.
	 */
	public String compute(Value value) {
		return ProfileManager.getInstance().getProfileName(
				((AccountLite) value).getProfile());
	}
}
